package org.dxy.domain.exception;

/**
 * @ description:
 * @ author: dxy
 * @ createTime: 2025/9/5 1:48
 */
public class DomainException extends RuntimeException {
    private final String code;

    public DomainException(String code, String message) {
        super(message);
        this.code = code;
    }

    public String getCode() { return code; }
}